package com.tsn.mapper;

import com.tsn.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 评论 Mapper 接口
 * </p>
 *
 * @author tsn
 * @since 2021-08-13
 */
public interface CommentMapper extends BaseMapper<Comment> {
    List<Comment> getCommentByType(Integer type,Integer id);

}
